using AppodealAds.Unity.Api;
using UnityEngine;

public class AppodealshowInstial : MonoBehaviour
{
	private bool consentValue;

	private void Start()
	{
		if (PlayerPrefs.GetInt("result_gdpr", 0) != 0)
		{
			consentValue = true;
		}
		else
		{
			consentValue = false;
		}
		string appKey = "85f1bae2cf15925bcba4ee2a751857c8e8d8d3e552455cd6";
		Appodeal.initialize(appKey, 131, consentValue);
		if (Appodeal.isLoaded(3))
		{
			Appodeal.show(3);
		}
	}

	private void Update()
	{
	}
}
